﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AppCode/MasterPages/Employee.master" AutoEventWireup="true" CodeFile="UpdateEmployee.aspx.cs" Inherits="AppCode_Employee_UpdateEmployee" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div style="width:700px;margin:0 auto;margin-left:300px;">
        <p style="font-size: 19px; font-weight: bold; margin-top: 40px; margin-bottom: 10px; margin-left: 70px;">Update Information</p>
        <table style="border-spacing:30px 10px;">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="FirstName "></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="FirstName is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="LastName"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label4" runat="server" Text="LastName is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label5" runat="server" Text="Address"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label6" runat="server" Text="Address is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label7" runat="server" Text="ContactNo"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtContact" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label8" runat="server" Text="ContactNo is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label9" runat="server" Text="State"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtState" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label10" runat="server" Text="State is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label11" runat="server" Text="Country"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtCountry" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label12" runat="server" Text="Country is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label13" runat="server" Text="City"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtCity" runat="server"></asp:TextBox></td>
                <td>
                    <asp:Label ID="Label14" runat="server" Text="City is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    </td>
                <td>
                    <asp:Button ID="Button1" runat="server" Text="Update" Height="30px" Width="80px" OnClick="Button1_Click" /></td>
            </tr>
        </table>
         <p style="color:red;margin-left:100px; font-weight:bold" runat="server" id="success">Update employee successfully</p>
    </div>
</asp:Content>

